package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 药品信息对象 Drugs
 *
 * @author ruoyi
 * @date 2023-07-04
 */


@TableName("Drugs")
@ApiModel(value = "Drugs对象", description = "药品信息")
public class Drugs implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Excel(name = "id")
    @ApiModelProperty("id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    /**
     * 药品编码
     */
    @Excel(name = "药品编码")
    @ApiModelProperty("药品编码")
    @TableField("DrugsCode")
    private String DrugsCode;

    /**
     * 药品名称
     */
    @Excel(name = "药品名称")
    @ApiModelProperty("药品名称")
    @TableField("DrugsName")
    private String DrugsName;

    /**
     * 药品规格
     */
    @Excel(name = "药品规格")
    @ApiModelProperty("药品规格")
    @TableField("DrugsFormat")
    private String DrugsFormat;

    /**
     * 包装单位
     */
    @Excel(name = "包装单位")
    @ApiModelProperty("包装单位")
    @TableField("DrugsUnit")
    private String DrugsUnit;

    /**
     * 生产厂家
     */
    @Excel(name = "生产厂家")
    @ApiModelProperty("生产厂家")
    @TableField("Manufacturer")
    private String Manufacturer;

    /**
     * 药品剂型
     */
    @Excel(name = "药品剂型")
    @ApiModelProperty("药品剂型")
    @TableField("DrugsDosage")
    private String DrugsDosage;

    /**
     * 药品类型
     */
    @Excel(name = "药品类型")
    @ApiModelProperty("药品类型")
    @TableField("DrugsType")
    private String DrugsType;

    /**
     * 药品单价
     */
    @Excel(name = "药品单价")
    @ApiModelProperty("药品单价")
    @TableField("DrugsPrice")
    private BigDecimal DrugsPrice;

    /**
     * 拼音助记码
     */
    @ApiModelProperty("拼音助记码")
    @TableField("MnemonicCode")
    private String MnemonicCode;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @TableField("CreationDate")
    private Date CreationDate;

    /**
     * 最后修改时间
     */
    @ApiModelProperty("最后修改时间")
    @TableField("Last_UpdateDate")
    private Date lastUpdatedate;

    /**
     * 删除标记
     */
    @ApiModelProperty("删除标记")
    @TableField("DelMark")
    private Long DelMark;

    @JsonProperty("Id")
    public Long getId() {
        return Id;
    }

    public void setId(Long Id) {
        this.Id = Id;
    }

    @JsonProperty("DrugsCode")
    public String getDrugsCode() {
        return DrugsCode;
    }

    public void setDrugsCode(String DrugsCode) {
        this.DrugsCode = DrugsCode;
    }

    @JsonProperty("DrugsName")
    public String getDrugsName() {
        return DrugsName;
    }

    public void setDrugsName(String DrugsName) {
        this.DrugsName = DrugsName;
    }

    @JsonProperty("DrugsFormat")
    public String getDrugsFormat() {
        return DrugsFormat;
    }

    public void setDrugsFormat(String DrugsFormat) {
        this.DrugsFormat = DrugsFormat;
    }

    @JsonProperty("DrugsUnit")
    public String getDrugsUnit() {
        return DrugsUnit;
    }

    public void setDrugsUnit(String DrugsUnit) {
        this.DrugsUnit = DrugsUnit;
    }

    @JsonProperty("Manufacturer")
    public String getManufacturer() {
        return Manufacturer;
    }

    public void setManufacturer(String Manufacturer) {
        this.Manufacturer = Manufacturer;
    }

    @JsonProperty("DrugsDosage")
    public String getDrugsDosage() {
        return DrugsDosage;
    }

    public void setDrugsDosage(String DrugsDosage) {
        this.DrugsDosage = DrugsDosage;
    }

    @JsonProperty("DrugsType")
    public String getDrugsType() {
        return DrugsType;
    }

    public void setDrugsType(String DrugsType) {
        this.DrugsType = DrugsType;
    }

    @JsonProperty("DrugsPrice")
    public BigDecimal getDrugsPrice() {
        return DrugsPrice;
    }

    public void setDrugsPrice(BigDecimal DrugsPrice) {
        this.DrugsPrice = DrugsPrice;
    }

    @JsonProperty("MnemonicCode")
    public String getMnemonicCode() {
        return MnemonicCode;
    }

    public void setMnemonicCode(String MnemonicCode) {
        this.MnemonicCode = MnemonicCode;
    }

    @JsonProperty("CreationDate")
    public Date getCreationDate() {
        return CreationDate;
    }

    public void setCreationDate(Date CreationDate) {
        this.CreationDate = CreationDate;
    }

    @JsonProperty("LastUpdatedate")
    public Date getLastUpdatedate() {
        return lastUpdatedate;
    }

    public void setLastUpdatedate(Date lastUpdatedate) {
        this.lastUpdatedate = lastUpdatedate;
    }

    @JsonProperty("DelMark")
    public Long getDelMark() {
        return DelMark;
    }

    public void setDelMark(Long DelMark) {
        this.DelMark = DelMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("Id", getId())
                .append("DrugsCode", getDrugsCode())
                .append("DrugsName", getDrugsName())
                .append("DrugsFormat", getDrugsFormat())
                .append("DrugsUnit", getDrugsUnit())
                .append("Manufacturer", getManufacturer())
                .append("DrugsDosage", getDrugsDosage())
                .append("DrugsType", getDrugsType())
                .append("DrugsPrice", getDrugsPrice())
                .append("MnemonicCode", getMnemonicCode())
                .append("CreationDate", getCreationDate())
                .append("lastUpdatedate", getLastUpdatedate())
                .append("DelMark", getDelMark())
                .toString();
    }
}

